

const arr = [1,2,3]

console.log(arr.splice(-50));
